package mj.predictor;
 
import java.util.ArrayList;
import java.util.Collections;
 
/**
 *
 * @author dirkkoh
 */
public class MahJongOwnSet {
        ArrayList<MahJong> MJOwnSet = new ArrayList<MahJong>();
       
        public MahJongOwnSet(ArrayList<MahJong> mJOwnSet) {
                this.MJOwnSet = mJOwnSet;
        }
       
        public void PrintMJOwnSetDetails() {
                Collections.sort(MJOwnSet);
                for (int i = 0; i < MJOwnSet.size(); i++) {
                        System.out.println((i + 1) + ") " +
                                        MJOwnSet.get(i).GetMJDesc() + " | " +
                                        MJOwnSet.get(i).GetMJType() + " | " +
                                        MJOwnSet.get(i).GetMJStatus());
                }
        }
}